package io.renren.service;

import com.alibaba.fastjson.JSONObject;
import io.renren.entity.SbydglDetEntity;
import io.renren.entity.SysUserEntity;

import java.util.List;
import java.util.Map;

/**
 * 异动管理明细
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-08-03 15:03:42
 */
public interface SbydglDetService {
	
	SbydglDetEntity queryObject(Integer yddetId);
	
	List<SbydglDetEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SbydglDetEntity sbydglDet,SysUserEntity sysUserEntity);

	void simpleAudit(JSONObject params, SysUserEntity sysUserEntity);

	void replace(JSONObject params, SysUserEntity sysUserEntity);
	
	void update(SbydglDetEntity sbydglDet);
	
	void delete(Integer yddetId);
	
	void deleteBatch(Integer[] yddetIds);
}
